package com.tcm.client;

import com.tcm.LoginService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class LoginApplication {

    public static void main(String[] args) {

        ClassPathXmlApplicationContext application = new ClassPathXmlApplicationContext("classpath:/META-INF/spring/application.xml");
        LoginService loginService = application.getBean(LoginService.class);
        String r = loginService.login("admin","admin");
        System.out.println(r);
    }

}
